class CreateEpisodes < ActiveRecord::Migration
  def self.up
    create_table :episodes do |t|
      t.integer :show_id
      t.string  :title
      t.text    :description
      t.integer :season
      t.integer :show_number
      t.string  :torrent_file
      t.string  :video_file
      t.string  :download_status
      t.string  :torrent_group
      t.datetime :published_date
      t.datetime  :date_complete
      t.timestamps
    end
  end

  def self.down
    drop_table :episodes
  end
end
